﻿using System;
using System.Web.Http;

namespace Aecg.OwinSelfHostServer.Service.Controllers
{
    [RoutePrefix("Api/Home")]
    public class HomeController : ApiController
    {
        /// <summary>
        ///     测试
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        [Route("Index")]
        public string Index()
        {
            return $"api服务状态正常,当前时间为:{DateTimeOffset.UtcNow.AddHours(8)}";
        }
    }
}